package com.gc.sql.ddl;

public final class ColumnInSubList extends Object {
    private Comma comma;
    
    private ColumnDef column;
    
    private ColumnsSubList next;
    
    public ColumnInSubList(Comma comma, ColumnDef column, ColumnsSubList next) {
        this.comma = comma;
        this.column = column;
        this.next = next;
    }
    private ColumnInSubList() {
    }
    public static CommaBuilder builder() {
        ColumnInSubList self = new ColumnInSubList();
        return self.new CommaBuilder ();
    }
    public class CommaBuilder extends Object {
        private CommaBuilder () {}
        public ColumnBuilder comma() {
            ColumnInSubList.this.comma = new Comma ();
            return ColumnInSubList.this.new ColumnBuilder ();
        }
    
    }
    public class ColumnBuilder extends Object {
        private ColumnBuilder () {}
        public NextBuilder column(ColumnDef column) {
            ColumnInSubList.this.column = column;
            return ColumnInSubList.this.new NextBuilder ();
        }
    
    }
    public class NextBuilder extends Object {
        private NextBuilder () {}
        public ColumnInSubList next(ColumnsSubList next) {
            ColumnInSubList.this.next = next;
            return ColumnInSubList.this;
        }
    
    }
        @Override
        public String toString() {
            return String.valueOf(comma)+" "+String.valueOf(column)+" "+String.valueOf(next);
        }

}
